package com.personal.service;

import com.personal.domain.Supplier;
import com.personal.util.partDisplay.SupplierPart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface SupplierService {



    List<Supplier> selectAll();


    List<SupplierPart> selectPartAll();

    List<SupplierPart> selectPartByKey(String name,String code);

    boolean add(Supplier supplier);

    Supplier getUpdateData(int id);
    boolean update(Supplier supplier);

    boolean delete(List<Integer> ids);
}
